import { BaseResponse } from '@ohos/BaseLibrary/src/main/ets/http/BaseResponse'
import AxiosRequest from '../http/AxiosRequest'
import { NesRecomeData } from './APIModel'

export const getShortVideoList = (cate_id:string,versionCode:number,page:number) =>{
  return AxiosRequest.post<BaseResponse<NesRecomeData>>({
    url: 'https://api.eyesnews.cn/' + 'appAPI/index.php?act=television&op=getList',
    params: {
      "cate_id":cate_id,
      "versionCode":versionCode,
      "page":page
    },
    headers: undefined,
    showLoading: false
  })
}